<template>
  <div>
    <h1>计算属性</h1>
    <p> {{ fullName}} </p>
  </div>
</template>

<script>
export default {
  data () {
    return {
    xing: '鱼',
    ming: '卷'
    }
  },
  computed: {
    fullName () {
      return this.xing + this.ming
    }
  }
}
</script>

<style>

</style>